﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Daily1
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Spring.Context.IApplicationContext context = Spring.Context.Support.ContextRegistry.GetContext();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Form1 form = new Form1();
            Spring.Context.IApplicationContextAware iappAware = form as Spring.Context.IApplicationContextAware;
            iappAware.ApplicationContext = context;

            Application.Run(form);
        }
    }
}
